package com.tos.uc.domain;

import com.tos316.common.utils.oraginUtils.ImageUtils;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by yanfei on 2017/6/25.
 */
public class TosUser implements Serializable {

    private Integer id;
    /** 用户类型  1消费者 2服务商 3企业 4厂商*/
    private Integer userType;
    /** 手机号码*/
    private String mphone;
    private String password;
    /** 昵称*/
    private String nickname;
    /** 真实姓名 */
    private String name;
    /** 公司名称*/
    private String compayName;
    /**性别 0未知 1为男 2为女 3其它 */
    private String sex;
    /**生日 */
    private Date birthday;
    /**头像 */
    private String avator;
    /** 省份编码*/
    private Integer province;
    /** 城市编码*/
    private Integer city;
    /** 地区编码*/
    private Integer area;
    /**省名 */
    private String provinceName;
    /** */
    private String cityName;
    /** 区县名*/
    private String areaName;
    /** 评分*/
    private Float score;
    /** 用户余额*/
    private Double balance;
    /** 冻结金额*/
    private Double frozen;
    /** 最后登录时间*/
    private Date lastLoginTime;
    /** 最后登录渠道1=>iOS2=>android3=>web4=>weixin5=>other*/
    private Integer lastLoginDevice;
    /** 用户来源1=>iOS2=>android3=>web4=>weixin5=>other6=>子账号*/
    private Integer userFrom;
    /**是否推荐 */
    private Integer recommend;
    /** 是否禁用*/
    private Integer disabled;
    /** 服务范围*/
    private String bussinessScope;
    /** 服务范围id以,分割*/
    private String bussinessScopeId;
    /** 服务商状态0，未递交，1已认证，2审核中*/
    private Integer serverStatus;
    /**企业认证状态0，未递交，1已认证，2审核中 */
    private Integer businessStatus;
    /** 厂商认证状态0，未递交，1已认证，2审核中*/
    private Integer vendorStatus;
    /** 版本*/
    private Integer version;
    /** */
    private Integer deleted;
    /** 创建时间*/
    private Date createTime;
    /** 更新时间*/
    private Date updateTime;
    /** 服务片区,号分割编码*/
    private String serverRegion;
    /** 管理员备注*/
    private String adminRemark;
    /**服务片区str */
    private String serverRegionStr;
    /**管理员评分 */
    private Double adminScore;
    /** 是否公益大使*/
    private Integer commonweal;
    /**是否参加招募令报名，0否1是 */
    private Integer isRecruit;
    /** 签名 简介*/
    private String sign;
    /** 介绍*/
    private String info;
    /**厂商主要产品,号分割 */
    private String productStr;
    /** 服务币*/
    private Integer serviceCurrency;
    /** 验证码*/
    private String code;
    /** 年龄*/
    private Integer age;
    /** token验签码*/
    private String token;
    /** 短信发送时间 */
    private Date sendedSmsTime;
    /** 第三方平台id，如微信的openid*/
    private String thirdId;
    private String thirdType;
    private String isReadMessageGoods;
    private String isReadMessageMaintenance;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getMphone() {
        return mphone;
    }

    public void setMphone(String mphone) {
        this.mphone = mphone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompayName() {
        return compayName;
    }

    public void setCompayName(String compayName) {
        this.compayName = compayName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAvator() {
        return ImageUtils.getFullImgPath(avator);
    }

    public void setAvator(String avator) {
        this.avator = avator;
    }

    public Integer getProvince() {
        return province;
    }


    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Double getFrozen() {
        return frozen;
    }

    public void setFrozen(Double frozen) {
        this.frozen = frozen;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getLastLoginDevice() {
        return lastLoginDevice;
    }

    public void setLastLoginDevice(Integer lastLoginDevice) {
        this.lastLoginDevice = lastLoginDevice;
    }

    public Integer getUserFrom() {
        return userFrom;
    }

    public void setUserFrom(Integer userFrom) {
        this.userFrom = userFrom;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    public String getBussinessScope() {
        return bussinessScope;
    }

    public void setBussinessScope(String bussinessScope) {
        this.bussinessScope = bussinessScope;
    }

    public String getBussinessScopeId() {
        return bussinessScopeId;
    }

    public void setBussinessScopeId(String bussinessScopeId) {
        this.bussinessScopeId = bussinessScopeId;
    }

    public Integer getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(Integer serverStatus) {
        this.serverStatus = serverStatus;
    }

    public Integer getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(Integer businessStatus) {
        this.businessStatus = businessStatus;
    }

    public Integer getVendorStatus() {
        return vendorStatus;
    }

    public void setVendorStatus(Integer vendorStatus) {
        this.vendorStatus = vendorStatus;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getServerRegion() {
        return serverRegion;
    }

    public void setServerRegion(String serverRegion) {
        this.serverRegion = serverRegion;
    }

    public String getAdminRemark() {
        return adminRemark;
    }

    public void setAdminRemark(String adminRemark) {
        this.adminRemark = adminRemark;
    }

    public String getServerRegionStr() {
        return serverRegionStr;
    }

    public void setServerRegionStr(String serverRegionStr) {
        this.serverRegionStr = serverRegionStr;
    }

    public Double getAdminScore() {
        return adminScore;
    }

    public void setAdminScore(Double adminScore) {
        this.adminScore = adminScore;
    }

    public Integer getCommonweal() {
        return commonweal;
    }

    public void setCommonweal(Integer commonweal) {
        this.commonweal = commonweal;
    }

    public Integer getIsRecruit() {
        return isRecruit;
    }

    public void setIsRecruit(Integer isRecruit) {
        this.isRecruit = isRecruit;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getProductStr() {
        return productStr;
    }

    public void setProductStr(String productStr) {
        this.productStr = productStr;
    }

    public Integer getServiceCurrency() {
        return serviceCurrency;
    }

    public void setServiceCurrency(Integer serviceCurrency) {
        this.serviceCurrency = serviceCurrency;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getSendedSmsTime() {
        return sendedSmsTime;
    }

    public void setSendedSmsTime(Date sendedSmsTime) {
        this.sendedSmsTime = sendedSmsTime;
    }

    public String getThirdId() {
        return thirdId;
    }

    public void setThirdId(String thirdId) {
        this.thirdId = thirdId;
    }

    public String getThirdType() {
        return thirdType;
    }

    public void setThirdType(String thirdType) {
        this.thirdType = thirdType;
    }

    public String getIsReadMessageGoods() {
        return isReadMessageGoods;
    }

    public void setIsReadMessageGoods(String isReadMessageGoods) {
        this.isReadMessageGoods = isReadMessageGoods;
    }

    public String getIsReadMessageMaintenance() {
        return isReadMessageMaintenance;
    }

    public void setIsReadMessageMaintenance(String isReadMessageMaintenance) {
        this.isReadMessageMaintenance = isReadMessageMaintenance;
    }


}